fix new ptrMap