adjusted Path.hs for refactoring of Align