removed useless syscalls and added sys_null