fix for deposit and withdrawals