Correction of sigsegv.