fixing the deposit callback