use plain C sscanf