fix exception error