Fixing problem with mixin check