fixes of insert