fixed issue with theme switcher and print layouts