fixed small assignment bug in content helper