Fix error generator moar better