fixed missing end
Merge pull request #31 from racx/master

fixed missing end