fix so the variable passed to the theme function works.