fixed more json stuff