remove unnecessary unmap procedure.