Fix bug with content refresh.