corrected scale y extraction