fix exception.