change debug flag