core dumped fix