refactored content.php add fallback