paths problem solved