fixed deploy_to error