bugfix: changing hostname when running on localhost