minor tweaks on plots generation