Fix stack overflow error on the new insert method