fixes for withMixin