statements error management