small fix about the deletion of _class from the db