fixed get all function
Merge pull request #21 from musamusa/bug/fix-getAll-function

fixed get all function