fixing callbacks for content assignment