fix ui of medit