Fixes ClearErr