pick appropriate reference level on logicals/characters