fixed syntax error for 1.8.7