fix for ender
Merge pull request #2 from emirotin/master

fix for ender