changed some debug stuff