Bugfix and parser debug tracing