Fix exception on unsupported attributes