Solves some erros on add generator specs