Protect against double-generation