fix api inconsistency
Merge pull request #3 from hayksaakian/master

fix api inconsistency