bugfix for hosts filter