fix timeoff calculator