Changing assign property to weak for object