changed anchor tags to span tags