fix refresh does not hide when reload