Removed some unnecessary debug stuff