removeRecursive fix