Your Salary Component definition may be the issue. Ensure " Depends on Payment Days" is checked. You have to re-generate the pay slip again after the setting.
base = 30000
payment_days = 13
total_working_days = 25
basic = base*0.53
#Depend on payment days is selected for base component
basic = (30000*0.53)*(13/25)
basic = 8268
The problem might be with the others component. You might need to rewrite the formula as
It needs to be checked only for the base component. Since all the other components used the base component in their formula, you need not give depends on payment days for the other components.