added rmdir to dep