remove unnecessary absolute path