enable log flag, panic caused by string instead of bool in json, fix app json