Temporary check-in

* fixed some issues in getUBPhiPaths

* Need to add more notes.