fixed theme check errors