fix API on user interface
Merge pull request #34 from otiai10/develop

fix API on user interface