add option to disable dynamic attributes