removed debug logging calls