fixups on printer functions