fixed code duplicate for srcml-path adjustment