Fix somagic parser.