hw3 signals fix