fixed a syntax error under 1.8.7