minor bug fix

forgot to get rid of JSON.parse