remove debug logging
avoid tag switch if possible