changed enum types of media property.