yet another bugfix for the output