fix signals in prompt