fix is_upper