fixed issue with "refreshing" home page