removed legacy debug stuff