fixed return on json