make parser performance slightly more acceptable