replace ~ with Box<T>
replace obsolete macros