Fix syntax error related to 1.8