Fix Payal calculation error