resolve bug with attributes not displayed