Crash debugging

The program crashes when switching parsers.