fixed prompt check