Made pointer initializations consistent