fix bug,update test