Fix error definition