repo view bug fix