template fix for mixins