fixup pointer init