correct flag value for EXT_MEDIA