fix mock config