fixed problem with content type