align host and port in settings