fix missing require for "restricted"