fixed uploads controller