fix ace editor params encoding