Fixed typo in functions that caused theme to fail.