Fixed Pathbug in UI