another small bug in passivateclass.cpp.