fixing scaling issue on ordinate