make onlineplayer compatible with upload