rework ui - init