fix bug about remove and refesh bug