minor debug stuff