change order of span and li