add container around the span (thanks to alitt for the suggestion)