fix #16 - return instead of commitDone
Merge pull request #1 from groovecoder/commitDone-replace-16

fix #16 - return instead of commitDone