add umi bin and fix bugs