fix width problem. BUG: first time lookup no ratio adjusting