Fixed insertion issue