remove error from function.php