signi and signd proper implementation - fix issue #3