Fixed contentType not defaulting properly