fixing issue in EntryGetPath