potion bug fix