Fix bug of status_plots.py