remove cause of segfo