add panic in in extract field function