Fix syntax errors in deployment