fix iframe encoding problem