fixed the content rendering incorrectly