corrected gen path