Frameshift mutation arises due to