fix issue that non url was wrongly sent to title extraction