remove reference to generate