by qianjun;add tooltip, some bugs left,,,