fetchAll bugfix