remove dbg code