adaptive scale works and chooses correct subscale
fixed bug in subscale