Made fixes to  makeGeneList().