Fixes Error base class