fix picture may upload twice some times