remove generic upload code