Fix signature validation