resolved json problems