Remove an unnecessary call to get_db