Some debug fixing

Has to be done bitch