fixed json problem