add hook for content overriding