ensure pr is a key