replaced weak reference with unsafe_unretained to support < 10.8