fixing pricing bug