fix bugs with stric mode