fixed issue related to displaying attributes with the same labels