fix syntax error for profiles