Remove useless path