Corret little error in generation