fixed the GT and GM json view error, closes #272