translate: undone part of acad5fae which introduced error with stored ptrs