Fixed permission debug stmt