Made some weak and assign references into strong references just to be sure.