fix call on generate again