handle improperly encoded private sequences