Fix upload mixin