fixed Signal : SIGSEGV:Segmentation fault)