fixed refreshing