fixes to adding potioneffects to entities