fix bugs of MOCK module, see UPDATE_LOG.md for more detealis.