Fix inserting signal thresholds
New version