fixed genes bug