removed some debug flagging