json exception class fixed