Fixed The dictionary look up errors