fixed some issues according to Dean's mail

next step, change json file , parsing method