undeploy_lab use case and minor fixes