rewire dependency for mock loading