Changed parent element from span to div