supported rollback of dirs