removing hostname class