base64 bug solved