optimize some methods in DataModifier.class