fix wrong tree in form