enable ending mode
Merge pull request #44 from otiai10/develop

enable ending mode