fixed minor bug with home refreshing