fix Zeroing Weak References problem