fix the edit function and add margin to some textarea