Fix syntax errors in incoming params