Small bug on running examples with errors fixed.