fixed onContent method typo