FIXED: bug when there is no refresh.