fix parsing data