Correcting paths to dependencies