remove die call in function.php