Revert "remove unmap sec and map sec"

This reverts commit 5a19834054957c47ef5b946f5b7581b126081d4a.
fix