If you cannot consume any nuts and peanuts, you can try to use seed butter, like tahini or sunflower seed butter and omit the walnuts.