fixing progress bar completion on opitonal field