fig many bugs in UI