GUI: fixed the bug when revalidate