Fixed problem with paths for MPS