fix learn_signal