after theme check