Return db object bug