Fix bug of signmessage and verifymessage