Fixed nested gene bug and gene naming issue