fix syntax error in compile