fixed metagrammar matching, fixed char match