Fixed encode bug