Fix lev_distance