fix bug on while iterating themes folder