added contentType option in configuration