fixed encode to parse: encode is in php