Fixed a mistake in getForm that causes openwithform to fail