solve path