Fix bugs at Potion.java