fix special_case bugs, add language family sensitivity