Fixed takeOutMoney procedure