fixed a bug in ProcObj::call