Updated debug with warning