fix missing load of media-config-item, small cleanup