Make base64 encoding work in normal mode