fixed core dump