fixed some bugs on payslips.