fix syntax error for loop