bug fix from previous commit in DB_Controller