cleaned up debug stuff