added compilation error management