fix load-theme warning issue