fix bug with theme