error before