fix 'this' errors in RatioNode