finally fixed all bugs, but words can not be reset yet