Fixed small bug with span.hide