make sure a prompt is available.