fixed bad DB reference