polygon export fix