fixed bug while switching source