fix cause of harmless 'Premature end of base64 data' warning