missing refresh before input