fixed a typo at line 249