fix broken paths in functions.php