fix returns from deposit operation