Fixed refresh view issue