Order details showing unwanted items from Product options by Bold

Hi all,

I realized a similar question had been asked before but I am still running into some troubles after looking through my orders.

I am currently using Product Options by Bold and some unwanted items (e.g. _boldVariantNames, etc.) kept showing up in the order page.

This is how my code currently looks like in customers/order.liquid

{% for line_item in order.line_items %}
                        
                          
                            {{ line_item.title | link_to: line_item.product.url }}
                            
								{% assign propertySize = line_item.properties | size %}
									{% if propertySize > 0 %}
										{% for p in line_item.properties %}
											{% assign first_character_in_key = p.first | truncate: 1, '' %}
											{% unless p.last == blank or first_character_in_key == '_' %}
												{{ p.first }}:
											{% if p.last contains '/uploads/' %}
												{{ p.last | split: '/' | last }}
											{% else %}
												{{ p.last }}
											{% endif %}
											{% endunless %}
										{% endfor %}
									{% endif %}

Anyone able to point me in the right direction or let me know which part of the code could be causing the problem? Thanks!