v1.3.1 signals handler