Hopefully this fixes encoding things?