fix a bug at line 94