Simple core dump fix