Fix for text id object insertion issue