some functions.php fixes