setting path correctly