selection and insert fixes