fix pointer in base violation