Fixed issue on auto-deploy