#136 fixed debug flag for testing