add signal handle ways