fatal directory removal

error called for removing and restoring ipython_nb directory