Add title for preview and fallback for class non exist
add hook for content