cleans up log lines a bit