fix json decode statement