change entity generator strategy