[FIX] error management