fix document title was unset