Fixed customizer and themecheck. Issues #1670. Thanks @mika33.