disable some errors

since the class is obsolete