Remove the generated flag as the id is set by the before hook