Fix redirect on manual upload