we have GetEntryPos(), use it

Change-Id: Iebb19951efa81817793a155164862076d1198e6e