check contentType