Use WeakRef to prevent crash on RM 2.5/2.6