bugfix signal_handlers