mcache: some small fixes