fixed the 'isa' deprecated stuff.