fixed a bug that widget displays partial result only when onHead callback with partial result under 300