Security Enhancements

Fix more bug when get JSON data