remove encoding args from export (figure it out automatic)