Fix minor bugs on displaying some plots.