put back check access to forbidden classes