fixing generation settings