capitalizing doctype