fixing empty string to base64