shouldve fixed the db.rb file