fix logic of finding non signatures