fix mains readgene
fixing main