fix hangling of signatures