Trying fix for bug in prompt controller