fix local host issues