fix issue with generic attributes