fixed function.php error