fix auto generation path (the files were generated to a wrong diretory in the previous commit)