simplify content type setting