error fixis in mixins and extensions