Fix tweaker crash.