fix mock require