fix syntax error in 1.8.7