hacky json and anonymouse bug fix