Fix syntax error in production stage