trying to fix json parse