changed assign to weak
Merge pull request #9 from Volodymyr/master

Replaced assign with weak