minor debug cleanup