fix: add missing sp_key_prompt check