Actually the _rmdir's not actually called. So I just removed the _rmdir() for now.