minor form code changes