fix credits showing price, and properly calculate avail