refine market source switching