fixed compile error of web ui