fix syntax error with phase