cleaning up debug stuff