handle nil request or key