Tried fixing the database connection