fixed the signal discarding process yet a bit more