~ ui/api fixes

Signed-off-by: Vladimir Bulyga <xx@ccxx.cc>