you can't possibly expect someone to guess this issue without knowing your comfig.
But to find out how the amount is calculated, just follow the rspective wagetype through the payroll log and you'll see exactly what happpens and where it goes wrong.