RefPtr small bug fixed.