removes spans and adds cols