bug fix on disabling submit after upload