please make contenttype optional