fixed payroll bug