mistake in refresh events task