fix some logic mistake in logic app-web