fixing namespacing for format_price method