fix for attribute modification