Fix error stubs