fixed bugs with pricing