fixed json parse issue