Fix syntax error in upper