fixed append and form submit problem