bugfix on disabling upload button