fix for JSON loading issue