added loading mixin and warning bg