fixed tendency to delete current directory