Fix delegate bug
Merge branch 'develop'