another fix for Core parser related to acore wrapping for case alternative patterns