fixed medium_id_id issue