fix bug - adding param to doSysCall