remove unneeded charmap form attributes