resolve some ui bug