fixed plant bug