removing duplicate host attribute.