fix bug on theme selecting