fix failures for larger uploads