fix err when upload success