remoevd debug flag