Fix refreshing