fix for possibly empty signature