disabling upload functionality