Finally fixed the focusbog on the prompt