fix : use id, not the whole mediaType