mkdir completed and compiles. issue with rmdir