rewrite tooltip logic. BUG: adjust ratio sometimes not working.