add mkdir to keep empty dirs