Apply fix for bug in prompt