add missing compaction step