modified the signature hack