fix build in ui