fixed potion errors.