Fix various bugs
s/assign/retain
Merge pull request #1 from longlongjump/master

Fix various bugs