removing everything before refreshing