no more global error variable