fixed some stuff that was fucked up in functions.php