fix Controller::contentType()