genericParser small refactory (performance improved with seq)