You need to close your span and a tags here:
</a></span>