fix title parsing bug