fix bug on sources reset