added tab on plot
fix warning msg