Changed setid to correctly be passed a long instead of an int