fix relative URL problem in functions.php