Fixed path bugs in UI