fix new hostname matching to be exact