fix potion related bugs