re-add compactObject