Fixed an error in functions.php