minor debug tweaks