add title and name to head