remove duplicit output, cut log messages