Fixed debug (sort of)