fix json error
hm... maybe will be better