fix bug with deployment.