cleaning up some debug stuff