switch branch of sources