cleanup debug stuff