guides generation is fixed

After a little odissey, guides generation is fixed.