remove signal handler due to double free ptr