Fix a bug in the feedback signal handler