fixing upload length