make sure to not display both id and idAttr