fixes error in application_database.rb