fixed "enter" bug
minr changes
Merge pull request #21 from jpecht/master

fixed "enter" bug