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

fix #16 - return instead of commitDone