Fixed Deposit

Fixed bug in deposit method