minor output bugfixes