ui prev commit bug fix