cleaned up host and port