better redeploy handling
minor