drop unwanted namespace decls