better div matching