fix data_sources to be hash