[fix] refresh bugs while 'open', 'close' command calls