fix function.php