fix put value._diff when index < originalLength