Fix categories in download_data method.