stupid JSON bug