fix broken attempt to limit access to classes/new