Added check for duplicated syscalls