Fix undeployment