fix removal of effects