cleaning up optionalRequires