Payslip Journal

Hi can someone out there help me with a sticky payroll processing issue. I have designed the salary structure, linked the appropriate ledger accounts to the components and successfully submitted the salary slip. The amazing thing is that the Salaries expense account is debited with twice the salary amount and the Salary Payable Account with the same amount less Tax! I have line by line gone through the salary components ensuring all the proper boxes are checked ( Statistic, Not to be added to total etc) but I can’t find the cause of this error. What am I doing wrong? Can someone generous enough maybe send me a prototype salary structure and payslip with the resultant salary payslip journal?

Error bug

What would be your advice Hassan_Youssef? I am stuck. And I wonder if this isn’t a common bug.