Fix cleint-side form environment transfer bug