filter div and span