fix *ptr_size()