fix mob compaction issue