changed debug flag