try to fix hang up on last gene