some cosmetics on run_analysis