fix empty $ex_fid_ary