clean useless dbg info