tweaking edit mode