Change some incorrect syntax for pri set debug and correct