Fix contentType problem