fix title parsing