fixed err in functions.php