bug fix: text styles not working on every other page visit