Fix removeplan