repair inset bug