Stupid calculate bug