fixed jf.ar.table function