fixed refreshing for chrome