Fix warning error about missing $title