tidy console output