ratio plot tweaks & bug fixes