fixed bug in signal tau selection