Need help fixing my calculation