fix invalid keys attr access in Shellcode class