fix quickrun encoding problem