fix removeDirectory
image processor