fixed json parsing exception