fix issue in some mixins