add hidden spans to catch filtering