fixed incorrectly retrieved data from dictionary selected_sources