fixed sigint handler