fix from resource-fiddle to remove illegal character