fix a bug of spell error