bugfix : die when search after insert