fix scope derived bug
fix tooltips\r\n