Fix calculation (derp)