use delete local instead of save and restore current PATH