fixing inconsistencies withe the svg schema