fix refresh bug!!