Fixed "undefined offset" errors on binary execution failure