fix debuggging for pointer methods