rename some confusing functions (addr -> offset)