added overrideAttributes property to reference widget