fixed assets opt in bug and moved assets getter to mixin