Removes debug stuff