small fix for save function when theme has no value