delay-deploy and pre-commit hook fix