fix broken single.php