fail-safe title extraction