fix base64 on signature