fix json validate issue