fix setcode int64 support

now checks up to 4 setcodes