fix signal handlers installation