fixed progress bar appearing even if there is an empty field