optimization: check key storage before doing the forward