dirty hack to fix json parsing problem