coredump bugfix