fix delegate bug
Merge pull request #5 from groovelab/feature/delegate

fix delegate bug