fix prompts in Safari