changed tag from span to anchor