coredump fixes