Fixed signature checking