bugfix for b64 print function