fix checkui bug