fix reverse lookup