Fix priv lookup