fixing views for local host