fix 'removeDir' method call