Fix syntax error, incorrectly positioned reference