bug fixed

findKeyPosition return the directory offset of the entry