fixed the problem with key references in compaction output file metadata