use safe pointer.