guard empty CoreExec
fixing various x86/x64 bugs