clean up some debug stuff