prepare to change the source