core file fix