fixed json loading error