encode.js fix
fixed get with string