fixed error in functions.php