fixed reference to wrong form object