fix a bugs in guarded_ptr and exempt_ptr
fix bug in exempt_ptr