- fixed loop issue in generate