fix simple mistakes getting the entry