fix installer bug deleting all items in module path.