bug fix
cannot call onPrompt on first fragment