debug flag removed