fix content generation