fixed sigint issue