fixing issue with HostKey and Port order