use new parser for show errors and run algo
optimise error manager