rmdf: support up to 24 objects