fixed rmdir and run