trying to fix json issue