fixed error in database config