rm usage of addr_of