another try to get the paths rigth