change default host to 'localhost'