using the name attribute is more consistant as hostname seems to be broken