* fix getAll returning only first document