fix bug where older span was getting caught