fixed illegal header information (attribute names with special chars
like ".", i.e., page.ly=...)