fixed placeBet()