data['size'] sometimes doesn't exist