fixes scan uploads