catch internal compiler errors