fixed dbsubject error with id due to table changes in db.