handle expired key