Remove encoding and let sandbox do it
Remove unused var