Crash caused by hardening flags