corrections to db