dbFunc returns were wrong