guard mixins properly