Trying to fix issue between overlay and ratio plots