repaired typo in rrmdir function